Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

move extra_float_digits parameter to PgConnectOptions #1746

Conversation

balliegojr
Copy link

Moves extra_float_digits to PgConnectOptions to allow overriding the parameter.

This solves one of the issues mentioned in #801

@abonander
Copy link
Collaborator

You're missing a public setter for extra_float_digits.

However, you should already be able to pass this in PgConnectOptions::options(). Does that not work?

@balliegojr
Copy link
Author

However, you should already be able to pass this in PgConnectOptions::options(). Does that not work?

It doesn't work for this parameter, probably because the parameter is sent twice if I use the option function

@abonander
Copy link
Collaborator

Closed by #1774

Sorry, but I wanted to put more in the documentation for the method and change the signature to accept Option<i8> and at that point it was easier to just open a new PR. Thanks for the effort, though.

@abonander abonander closed this Apr 1, 2022
@balliegojr
Copy link
Author

don't worry, my goal was achieved anyway. Thanks for the update

@balliegojr balliegojr deleted the feature/redshift-connection-support branch April 2, 2022 10:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants